﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace KTWpm.Clinic.Domain.ValueObjects;

public record VitalSigns
{
    public DateTime ReadingDateTime { get; init; }

    public decimal Temperature { get; init; } // in Celsius 
    public int HeartRate { get; init; } // beats per minute 
    public int RespiratoryRate { get; init; } // breaths per minute 



    public VitalSigns(decimal temperature, int heartRate, int respiratoryRate)
    {
        ReadingDateTime = DateTime.UtcNow;
        Temperature = temperature;
        HeartRate = heartRate;
        RespiratoryRate = respiratoryRate;
    }
}
